<?php

namespace App\Http\Resources\Users;

use Illuminate\Http\Resources\Json\Resource;

class AdminUsersResource extends Resource
{
    /**
     * Transform the resource into an array.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return array
     */
    public function toArray($request)
    {
        return [
            'id'        =>  $this->user_id,
            'name'      =>  $this->user_name,
            'email'     =>  $this->email,
            'ture_name' =>  $this->ture_name,
            'phone'     =>  $this->phone,
        ];
    }
}
